﻿using RuoVea.Identity.Utils;

namespace RuoVea.Identity.Client;

/// <summary>
/// 客户端配置模型
/// </summary>
public class AuthClientInfo
{
    /// <summary>
    /// 服务端地址
    /// </summary>
    public string ServerUrl { get; set; }
    /// <summary>
    /// 客户端Id
    /// </summary>
    public string ClientId { get; set; }
    /// <summary>
    /// 客户端密钥
    /// </summary>
    public string ClientSecrets { get; set; }
    /// <summary>
    /// 成功后的跳转回调地址
    /// </summary>
    public string RedirectUris { get; set; } = "/callback";
    /// <summary>
    /// 本站域名地址
    /// </summary>
    public string HostUri { get; set; }
    /// <summary>
    /// 返回的value类型
    /// </summary>
    public AuthType ResponseType { get; set; }
    /// <summary>
    /// 随机返回值
    /// </summary>
    public string state { get; set; }

}


